package com.fd.speedkey;
/**
 * 文档注释
 * 快捷键演示
 * @author fd
 *
 */
public class SpeedKeyDemo {
    /*
     * 1. 创建方法
     */
    public static void main(String[] args) {
        System.out.println("Hello World!");
        System.out.println("Hello World!");
        System.out.println("-----------------------");
        printHelloWorld(null);
        System.out.println("-----------------------");
        printSum(1, 2);
    }
    //打印3行HelloWorld
    public static void printHelloWorld(String[] args) {
        System.out.println("Hello World!");
        System.out.println("Hello World!");
        System.out.println("Hello World!");
    }
    // 我要求任意两个整数的和
    public static void printSum(int a, int b) {
        System.out.println(a + b);
    }
}
